﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsTTMatHang" targetNamespace="http://tempuri.org/dsTTMatHang.xsd" xmlns:mstns="http://tempuri.org/dsTTMatHang.xsd" xmlns="http://tempuri.org/dsTTMatHang.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="QLVTConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="QLVTConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.DevEx.Properties.Settings.GlobalReference.Default.QLVTConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="fc_T_NhapXuatMatHangTableAdapter" GeneratorDataComponentClassName="fc_T_NhapXuatMatHangTableAdapter" Name="fc_T_NhapXuatMatHang" UserDataComponentName="fc_T_NhapXuatMatHangTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="QLVTConnectionString (Settings)" DbObjectName="QLVT_A41.dbo.fc_T_NhapXuatMatHang" DbObjectType="Function" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT NgayPhieu, PhieuNhap, PhieuXuat, Gia, LyDoNhapXuat, SLNhap, SLXuat, TienNhap, TienXuat, SLTon, TienTon FROM dbo.fc_T_NhapXuatMatHang(@idMatHang)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="idMatHang" ColumnName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@idMatHang" Precision="0" Scale="0" Size="0" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="NgayPhieu" DataSetColumn="NgayPhieu" />
              <Mapping SourceColumn="PhieuNhap" DataSetColumn="PhieuNhap" />
              <Mapping SourceColumn="PhieuXuat" DataSetColumn="PhieuXuat" />
              <Mapping SourceColumn="Gia" DataSetColumn="Gia" />
              <Mapping SourceColumn="LyDoNhapXuat" DataSetColumn="LyDoNhapXuat" />
              <Mapping SourceColumn="SLNhap" DataSetColumn="SLNhap" />
              <Mapping SourceColumn="SLXuat" DataSetColumn="SLXuat" />
              <Mapping SourceColumn="TienNhap" DataSetColumn="TienNhap" />
              <Mapping SourceColumn="TienXuat" DataSetColumn="TienXuat" />
              <Mapping SourceColumn="SLTon" DataSetColumn="SLTon" />
              <Mapping SourceColumn="TienTon" DataSetColumn="TienTon" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsTTMatHang" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsTTMatHang" msprop:Generator_UserDSName="dsTTMatHang">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="fc_T_NhapXuatMatHang" msprop:Generator_TableClassName="fc_T_NhapXuatMatHangDataTable" msprop:Generator_TableVarName="tablefc_T_NhapXuatMatHang" msprop:Generator_TablePropName="fc_T_NhapXuatMatHang" msprop:Generator_RowDeletingName="fc_T_NhapXuatMatHangRowDeleting" msprop:Generator_RowChangingName="fc_T_NhapXuatMatHangRowChanging" msprop:Generator_RowEvHandlerName="fc_T_NhapXuatMatHangRowChangeEventHandler" msprop:Generator_RowDeletedName="fc_T_NhapXuatMatHangRowDeleted" msprop:Generator_UserTableName="fc_T_NhapXuatMatHang" msprop:Generator_RowChangedName="fc_T_NhapXuatMatHangRowChanged" msprop:Generator_RowEvArgName="fc_T_NhapXuatMatHangRowChangeEvent" msprop:Generator_RowClassName="fc_T_NhapXuatMatHangRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="NgayPhieu" msprop:Generator_ColumnVarNameInTable="columnNgayPhieu" msprop:Generator_ColumnPropNameInRow="NgayPhieu" msprop:Generator_ColumnPropNameInTable="NgayPhieuColumn" msprop:Generator_UserColumnName="NgayPhieu" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PhieuNhap" msprop:Generator_ColumnVarNameInTable="columnPhieuNhap" msprop:Generator_ColumnPropNameInRow="PhieuNhap" msprop:Generator_ColumnPropNameInTable="PhieuNhapColumn" msprop:Generator_UserColumnName="PhieuNhap" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="67" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PhieuXuat" msprop:Generator_ColumnVarNameInTable="columnPhieuXuat" msprop:Generator_ColumnPropNameInRow="PhieuXuat" msprop:Generator_ColumnPropNameInTable="PhieuXuatColumn" msprop:Generator_UserColumnName="PhieuXuat" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="67" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Gia" msprop:Generator_ColumnVarNameInTable="columnGia" msprop:Generator_ColumnPropNameInRow="Gia" msprop:Generator_ColumnPropNameInTable="GiaColumn" msprop:Generator_UserColumnName="Gia" type="xs:double" minOccurs="0" />
              <xs:element name="LyDoNhapXuat" msprop:Generator_ColumnVarNameInTable="columnLyDoNhapXuat" msprop:Generator_ColumnPropNameInRow="LyDoNhapXuat" msprop:Generator_ColumnPropNameInTable="LyDoNhapXuatColumn" msprop:Generator_UserColumnName="LyDoNhapXuat" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SLNhap" msprop:Generator_ColumnVarNameInTable="columnSLNhap" msprop:Generator_ColumnPropNameInRow="SLNhap" msprop:Generator_ColumnPropNameInTable="SLNhapColumn" msprop:Generator_UserColumnName="SLNhap" type="xs:double" minOccurs="0" />
              <xs:element name="SLXuat" msprop:Generator_ColumnVarNameInTable="columnSLXuat" msprop:Generator_ColumnPropNameInRow="SLXuat" msprop:Generator_ColumnPropNameInTable="SLXuatColumn" msprop:Generator_UserColumnName="SLXuat" type="xs:double" minOccurs="0" />
              <xs:element name="TienNhap" msprop:Generator_ColumnVarNameInTable="columnTienNhap" msprop:Generator_ColumnPropNameInRow="TienNhap" msprop:Generator_ColumnPropNameInTable="TienNhapColumn" msprop:Generator_UserColumnName="TienNhap" type="xs:double" minOccurs="0" />
              <xs:element name="TienXuat" msprop:Generator_ColumnVarNameInTable="columnTienXuat" msprop:Generator_ColumnPropNameInRow="TienXuat" msprop:Generator_ColumnPropNameInTable="TienXuatColumn" msprop:Generator_UserColumnName="TienXuat" type="xs:double" minOccurs="0" />
              <xs:element name="SLTon" msprop:Generator_ColumnVarNameInTable="columnSLTon" msprop:Generator_ColumnPropNameInRow="SLTon" msprop:Generator_ColumnPropNameInTable="SLTonColumn" msprop:Generator_UserColumnName="SLTon" type="xs:int" />
              <xs:element name="TienTon" msprop:Generator_ColumnVarNameInTable="columnTienTon" msprop:Generator_ColumnPropNameInRow="TienTon" msprop:Generator_ColumnPropNameInTable="TienTonColumn" msprop:Generator_UserColumnName="TienTon" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>